@section('content')
<div class="am-cf am-padding">
   <div class="am-fl am-cf">
      <strong class="am-text-primary am-text-lg">省份</strong>
   </div>
</div>
    <div class="am-g">
      <div class="am-u-sm-12">
          <table class="am-table am-table-striped am-table-hover table-main">
            <thead>
              <tr>
                <th>ID</th>
                <th>名称</th>
                <th>操作</th>
              </tr>
          </thead>
          <tbody>
          	@foreach ($provinces as $p)
            <tr data-id="{{$p->id}}"  data-name='{{$p->name}}'>
              <td>{{$p->id}}</td>
              <td>{{$p->name}}</td>
              <td>
                <div class="am-btn-toolbar">
                  <div class="am-btn-group am-btn-group-xs">
                  	<a class="am-btn am-btn-default am-btn-xs am-text-secondary" href="{{URL::route('address.city',$p->id)}}">
                  		<span class="am-icon-search"></span> 城市</a>
                  </div>
                </div>
              </td>
            </tr>
            @endforeach
          </tbody>
        </table>
      </div>
    </div>
@stop

@section('script')

<script type="text/javascript">
$(function () {
});
</script>
@stop
